import request from "../util"

type listTpes = {
    code:number,
    msg:string,
    page:number,
    pageSize:number,
    result:addmsType[],
    total:number
}
export const getmsLIst = (obj:any)=>{
    return request.post<any,listTpes>("/app/gethomelist",{...obj})
}


export const getSearchList = (keyword:string)=>{
    return request.post<any,axiosTypes<addmsType[]>>("/app/getallinters",{keyword})
}